<cpanel setvar="headerimg=../images/mailmenu.gif">
<cpanel setvar="dprefix=../">
<cpanel Branding="include(stdheader.html)">
<style type="text/css">
<?cp Branding::spritelist(.spriteicon_img_mini {float:left;margin-right:5px;background: url\{leftparenthesis}"%"\{rightparenthesis};} %,@spriteurl,images::#icon-${img}_mini {background-position\{colon}0 -${cssposition}px;width\{colon}${width}px;height\{colon}${height}px; }:) imgtype=icon,subtype=img,method=scale_60percent,format=png,img=forwardersemail ?>
</style>

<div class="body-content">
  <cpanelfeature cgpro_extensions>
  
  <div class="h1Title"><cpanel langprint="CGPExtensions"></div>

  <?cptt CommuniGate::AssignExtension(cgpro/extensions.tmpl) account=$FORM{'account'},extension=$FORM{'extension'},local_extension=$FORM{'local_extension'} ?>

  <h2><cpanel langprint="CGPExtensions"></h2>
  <table border="0" cellpadding="5" width="550" cellspacing="0" id="mailtbl" class="sortable truncate-table">
    <colgroup>
      <col width="35%" align="left" />
      <col width="35%" align="left" />
      <col width="15%" align="center" />
    </colgroup>
    <tr>
      <th><cpanel langprint="CGPExtensions"></th>
      <th><cpanel langprint="CGPAssignedTo"></th>
      <th class="sorttable_nosort"><cpanel langprint="FTPFunctions"></th>
    </tr>
    
    <?cp CommuniGate::ListExtensions(
	 [tr class="row-%"]
	 [td class="truncate nobrd-left"]%[/td]
	 [td class="truncate"]%[/td]
	 [td][a href="deleteextension.html?extension=%&amp;display=%"]$LANG{'BrandingDPackage'}[/a][/td]
	 [/tr]
	 ,*num,html_dest,html_forward,uri_dest,html_dest) domain=$FORM{'domain'},regex=$FORM{'searchregex'},api2_paginate=1,api2_paginate_start=$FORM{'api2_paginate_start'},api2_paginate_size=$CPVAR{'itemsperpage'} || '[tr][td colspan="5" class="errors"]$LANG{'NoFwds'}.[/td][/tr]' ?>

  </table>
  </cpanelfeature>
</div><!-- end body-content -->

<cpanel Branding="include(stdfooter.html)">
